Calculates the square root of a numeric expression.
与えられた数値表式の平方根を計算します。
Sqr (Number)
Sqr (Number)
Double
倍精度
Number: Any numeric expression that you want to calculate the square root for.
Number: 平方根を計算する数値表式。
A square root is the number that you multiply by itself to produce another number, for example, the square root of 36 is 6.
ある数値の平方根とは、それを 2 乗した値が基の値となるもののことで、たとえば 36 の平方根は 6 です。
Sub ExampleSqr
Sub ExampleSqr
Dim iVar As Single
Dim iVar As Single
iVar = 36
iVar = 36
Msgbox Sqr(iVar)
Msgbox Sqr(iVar)
end sub
end sub